<!--
 * @Description: 菜单
 * @Author: zzj
 * @Date: 2021-08-19 16:21:24
 * @LastEditors: zzj
 * @LastEditTime: 2021-08-19 17:08:16
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>菜单</title>
    <style>
        html{
            font:normal normal 12px "微软雅黑"；
        }
        body{
            margin: 0;
        }
        ul,ol{
            margin: 0;
            padding: 0;
            list-style: none;
        }
        .wapper{
            width: 1080px;
            margin: 0 auto;
        }
        /* 头部 */
        .header{
            background-color: #333;
            color: #f4f4f4;
        }
        .header>.wapper{

        }
        .header .note{
            line-height: 3em;
        }
        .header ul.menu{
            float: right;
        }
        .header ul.menu li{
            cursor: pointer;
        }
        .header ul.menu>li{
            float: left;
            line-height: 3em;
            padding: 0 1em;
            position: relative;
        }
        .header ul.menu>li:hover .sub-menu-1{
            display: block;
        }
        .header ul.menu .sub-menu-1{
            box-sizing: border-box;
            display: none;
            position: absolute;
            box-shadow: 0 0 5px rgb(0,0, 0,0.1);
            width: 100%;
            color: #999;
            text-align: center;
            left: 0;
            padding: 0 0.5em;
        }
        .header ul.menu .sub-menu-1>.icon-sj{
            position: absolute;
            background-color: #f4f4f4;
            width: 10px;
            height: 10px;
            left: 50%;
            margin-left: -5px;
            top: -5px;
            transform: rotate(45deg);
        }
        .header ul.menu .sub-menu>li:not(:last-child){
            border-bottom: 1px solid #ccc;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <div class="wapper">
                    <ul class="menu">
                        <li>登录/注册</li>
                        <li>我的订单</li>
                        <li>会员</li>
                        <li>甄选家</li>
                        <li>企业采购</li>
                        <li> 
                            <span>客户服务</span> 
                            <div class="sub-menu-1">
                                <div class="icon-sj"></div>
                                <ul class="sub-menu">
                                    <li>在线客服</li>
                                    <li>帮助中心</li>
                                    <li>商务合作</li>
                                    <li>开放平台</li>
                                </ul>
                            </div>
                        </li>
                        <li>APP</li>
                    </ul>
                    <!-- 公告 -->
                    <div class="note">因事件（疫情、特大暴雨）影响，部分地区无法配送公告</div>
            </div>
        </div>
    </div>
</body>
</html>